package fr.generali.sas.ws.adapter;

import java.util.Date;

import javax.xml.bind.annotation.adapters.XmlAdapter;

public class DateTimeAdapter extends XmlAdapter<String, Date> {

	public Date unmarshal(String value) {
		return (org.apache.cxf.tools.common.DataTypeAdapter.parseDateTime(value));
	}

	public String marshal(Date value) {
		return (org.apache.cxf.tools.common.DataTypeAdapter.printDateTime(value));
	}

}
